<template>
        <RouterView></RouterView>
</template>

<script setup lang="ts">
import './sursor-effects.js';
</script>

<style>

.el-message--success .el-message__content {
    font-size: 16px;
}
.el-message--error .el-message__content {
    font-size: 16px;
}

.el-message--warning .el-message__content {
    font-size: 16px;
}


.el-notification {
    background-color: rgb(182, 227, 249) !important;
    min-width: 40vw !important;
    box-shadow: 10px -10px 60px rgba(6, 218, 229, 1) !important;
}
.el-notification__content {
    color: var(--theme-color) !important;
    line-height: 1.3 !important;
    font-size: larger !important;
}
.el-notification__title {
    color: green !important;
    font-size: large !important;
}

.el-table .warning-row {
    --el-table-tr-bg-color: rgb(249, 252, 173);
}

.el-table .success-row {
    --el-table-tr-bg-color: rgb(169, 252, 168);
}

.el-table .error-row {
    --el-table-tr-bg-color: rgb(255, 176, 189);
}
.cell {
  font-size: large;
  color: var(--theme-color);
}


.custom-message-box {
    padding: 3vw !important;
    border-radius: 12px !important;
    box-shadow: 0px 0px 15px rgba(239, 42, 42, 0.973) !important;
    background: #f8ffbd !important;
    max-width: 90% !important;
    z-index: 200 !important;
    position: fixed !important;
    margin-top: 50vh !important;
    transform: translate(-50%, -50%) !important;
}

/* Tooltip 样式自定义 */
.el-popper.is-dark {
    background-color: rgba(0, 0, 0, 0.8) !important;
    padding: 8px 12px !important;
    min-height: 32px !important;
    line-height: 1.5 !important;
    font-size: 16px !important;
    /* 增大字号 */
    font-weight: 500 !important;
    border-radius: 6px !important;
    box-shadow: 0 5px 12px 0 var(--theme-color) !important;
    max-width: 400px !important;
    /* 增加最大宽度 */
    word-break: break-all !important;
}

/* Tooltip 箭头样式 */
.el-popper.is-dark .el-popper__arrow::before {
    background-color: rgba(0, 0, 0, 0.8) !important;
    right: 0 !important;
    border: none !important;
}
</style>

